package demo4;

/**
 * ClassName Keyboard
 * Description TODO
 * Author Yanyan
 * Date 2025/11/13 13:50
 * Version 1.0
 */
public class Keyboard implements USB {

    @Override
    public void openDevice() {
        System.out.println("打开键盘！");
    }

    @Override
    public void closeDevice() {
        System.out.println("关闭键盘！");
    }

    public void input() {
        System.out.println("使用键盘输入内容！");
    }
}
